package com.ultrawise.survey.module.user.controller;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.ultrawise.survey.core.base.BaseContoller;
import com.ultrawise.survey.core.base.ServiceException;
import com.ultrawise.survey.module.user.vo.TSurveyInfoUsers;

@Controller
@RequestMapping(value = "/usermagr")
public class UsersMagrControl extends BaseContoller {

	@RequestMapping(value = "userinfo.htm")
	public ModelAndView userinfo() throws ServiceException {
		 
		 List<TSurveyInfoUsers> ls = new ArrayList<TSurveyInfoUsers>();
		 TSurveyInfoUsers usinfo = new TSurveyInfoUsers();
		 usinfo.setUs_login("admin");
		 ls.add(usinfo);
		 ls.add(usinfo);
		 ls.add(usinfo);
		 ls.add(usinfo);
		 ls.add(usinfo);
		return new ModelAndView("/user/userinfo","listuser",ls);
	}
}
